6.4 Post-Reading and Exercises

|

285

else

error("Mode not implemented");

end

modelTrain = fitcknn(X(trainingIndizes,:),...

Y(trainingIndizes),'NumNeighbors',neighbours,...

'DistanceWeight','equal');

predictedClass = predict(modelTrain,X(testIndizes,:));

confusionMatrix = confusionmat(Y(testIndizes),...

predictedClass,'Order',["K" "A"]);

obj.log(logindex).description = "confusionMatrixFold" +...

string(i);

obj.log(logindex).data = reshape(confusionMatrix,1,[]);

logindex = logindex + 1;

obj.log(logindex).description = "accuracyFold" +...

string(i);

obj.log(logindex).data = sum(diag(confusionMatrix))/...

sum(confusionMatrix,'all');

logindex = logindex + 1;

end

6.4 Post-Reading and Exercises

Signals of the Brain

1.

What is the basis for measuring an EEG? What information do you hope to gain

from it?

2.

Describe and sketch the different brain regions. Name their function and assign

the corresponding sensory organs.

3.

Describe a sensory organ in some detail; how is the stimulus transformed and how

does it reach the brain.

4.

What are evoked potentials? How can they be evoked in experiments?

5.

What is meant by reference points? Which ones are indicated in EEG?

6.

What is event correlation?

7.

How can the influences of events be filtered out of the noise?

8.

What diseases can be diagnosed with the EEG?

9.

What is a frequency band and which ones do you know in the EEG? What do they

stand for? Make a sketch of the signals.